Skip to content

Extract SARIF upload to separate workflow and improve C++ flags - #11529

Open
garazdawi wants to merge 6 commits into
erlang:maintfrom
garazdawi:lukas/gh/decouble-ossf-zizmor-scans
Open

Extract SARIF upload to separate workflow and improve C++ flags#11529
garazdawi wants to merge 6 commits into
erlang:maintfrom
garazdawi:lukas/gh/decouble-ossf-zizmor-scans

Conversation

@garazdawi

Copy link
Copy Markdown
Member

This PR extracts the sarif upload of the ossf compiler flags scanner and Zizmor into their own workflows so that when looking at the status of the checks in the code scanning tools it does not carry the status of the entire main.yaml workflow.

The PR also adds CXXFLAGS to system_info(compile_info) so that we can check for flags that are solely in CXXFLAGS. It then also adds -fzero-call-used-regs=used to CFLAGS and -D_LIBCPP_HARDENING_MODE to CXXFLAGS.

In order to not couple the ossf and zizmor tool status with the status
of the main.yaml workflow we break the upload of those sarif files out
into their own workflows so that warnings in the github gui disappear.
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    8 files    183 suites   1h 23m 36s ⏱️
2 394 tests 2 196 ✅ 198 💤 0 ❌
3 638 runs  3 284 ✅ 354 💤 0 ❌

Results for commit e96c674.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants